package com.gxa.entity.investment;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 入驻登记单
 * </p>
 *
 * @author yjl
 * @since 2022-10-19 09:02:10
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_occupancy_register")
@ApiModel(value = "OccupancyRegister对象", description = "入驻登记单")
public class OccupancyRegister implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value ="入驻登记单主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value ="客户名称")
    @TableField("company_name")
    private String companyName;

    @ApiModelProperty(value ="合同名称")
    @TableField("contract_name")
    private String contractName;

    @ApiModelProperty(value ="入驻时间")
    @TableField("date")
    private Date date;

    @ApiModelProperty(value ="入驻人数")
    @TableField("people_num")
    private Integer peopleNum;

    @ApiModelProperty(value ="入驻负责人")
    @TableField("principal")
    private String principal;

    @ApiModelProperty(value ="联系电话(客户的电话")
    @TableField("tel")
    private String tel;

    @ApiModelProperty(value ="入驻房间")
    @TableField("room_num")
    private String roomNum;

    @ApiModelProperty(value ="备注说明")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value ="状态（0-待审批，1-已通过，2-已撤销）")
    @TableField("state")
    private Integer state;

    @ApiModelProperty(value ="起始时间")
    @TableField("start_date")
    private Date startDate;

    @ApiModelProperty(value ="结束时间")
    @TableField("end_date")
    private Date endDate;


}
